﻿<%@ Page Title="基本药物商品信息维护 " Language="C#" MasterPageFile="~/System/MasterPageCompany.master" AutoEventWireup="true" CodeFile="GoodsListJB.aspx.cs" Inherits="Company_GoodsListJB" %>


<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript" type="text/javascript">

        function SetCompanyTB() {
            window.open('SetCompanyTB.aspx');
        }               
        
    </script>

    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 2px">
                <img src="../images/intro_left.gif" width="4" height="34" />
            </td>
            <td class="intro_wordbg">
                基本药物商品信息维护 
            </td>
            <td background="../images/intro_bg.gif" align="left">
                <img src="../images/intro_right.jpg" width="118" height="34" />
            </td>
        </tr>
    </table>
    <table id="tabData" class="list" cellpadding="1" cellspacing="1">
        <tr>
            <td class="td_left_20">
                商品流水号：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtGoodsId" runat="server" CssClass="txtbox_200" NumericOnly="药品流水号"></asp:TextBox>
            </td>
            <td class="td_left_20">
                <%--审核状态：--%>通用名：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtProductName" runat="server" CssClass="txtbox_200" InvertedComma="通用名"></asp:TextBox>
                <%--<asp:DropDownList ID="DDLCheckStatus" runat="server">
                    <asp:ListItem Value="全部" Selected="True">全部</asp:ListItem>
                    <asp:ListItem Value="未审核">未审核</asp:ListItem>
                    <asp:ListItem Value="审核通过">审核通过</asp:ListItem>
                    <asp:ListItem Value="审核未通过">审核未通过</asp:ListItem>
                </asp:DropDownList>--%>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                剂型：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtMedicinemodel" runat="server" CssClass="txtbox_200" InvertedComma="剂型"></asp:TextBox>
            </td>
            <td class="td_left_20">
                规格：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtOutlookc" runat="server" CssClass="txtbox_200" InvertedComma="规格"></asp:TextBox>
            </td>
        </tr>
     
        <tr>
            <td class="td_left_20">
                审核状态：</td>
            <td class="td_right_30">
                <asp:DropDownList ID="List_memo3" runat="server">
                    <asp:ListItem Value="0">未审核</asp:ListItem>
                    <asp:ListItem Value="1">审核通过</asp:ListItem>
                    <asp:ListItem Value="2">审核未通过</asp:ListItem>
                    <asp:ListItem Value="3">纸质材料一致</asp:ListItem>
                     <asp:ListItem Value="4">全部</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="td_left_20">
                品目号：</td>
            <td class="td_right_30">
                <asp:TextBox ID="txtproductid" runat="server" CssClass="txtbox_200"  NumericOnly="品目号" 
                    InvertedComma="品目号" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <asp:Button ID="Button5" runat="server" CssClass="button_80" OnClientClick="javascript:return CheckForm();"
                    Text="查  询"  />
                <a href='GoodsAddJB.aspx' target="_blank" visible="true">添加基本药物商品</a>
                <%--<input id="Button2" runat="server" type="button" value="投标人维护" class="button_80"
                    onclick='SetCompanyTB()' visible="false" />--%>
            </td>
        </tr>
        <!-- <asp:HyperLinkField DataNavigateUrlFields="GoodsId" DataNavigateUrlFormatString="ImgUp.aspx?GoodsId={0}"
                            HeaderText="图片上传" Target="_blank" Text="点击上传" /> -->
        <tr>
            <td colspan="4">
                <asp:GridView AutoGenerateColumns="False" CellPadding="3" ID="GridView1" runat="server"
                    Width="100%" OnRowDataBound="GridView1_RowDataBound" DataKeyNames="goodsid"
                    OnRowCommand="GridView1_RowCommand">
                    <Columns>
                        <asp:BoundField DataField="goodsid" HeaderText="商品流水号" />
                       <asp:BoundField DataField="Productid" HeaderText="品目号" />
                        <asp:BoundField DataField="productname_gjsp" HeaderText="通用名" ItemStyle-HorizontalAlign="Left" />
                        <asp:BoundField DataField="Outlookc_gjsp" HeaderText="规格" />
                        <asp:BoundField DataField="Medicinemodel_gjsp" HeaderText="剂型" />
                        <asp:BoundField DataField="unit_gjsp" HeaderText="单位" />
                        <asp:BoundField DataField ="包装材质" HeaderText="包装材质" />
                        <asp:BoundField DataField="factor" HeaderText="转换系数" /> 
                        <asp:BoundField DataField="shenhetime" HeaderText="审核时间" /> 
                        <asp:BoundField DataField="NoPass" HeaderText="审核说明" /> 
                        <asp:TemplateField HeaderText="审核状态" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <span title='<%# DataBinder.Eval(Container.DataItem, "NoPass")%> '>
                                    <%# DataBinder.Eval(Container.DataItem, "checkstatus")%>
                                </span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="修改">
                            <ItemTemplate>
                                <a href='GoodsDeailJB.aspx?Id=<%# MsgBox.JiaMiobj_Encrypt(Eval("goodsid"))%>'
                                    target="_blank" visible="true">修改</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="删除">
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandName='<%#Eval("checkstatus")%>' CommandArgument='<%#Eval("goodsid") %>'
                                    OnClientClick="javascript:return confirm('确定真的要删除吗？？？？ ');">删除</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <%--<asp:BoundField DataField="CheckStatus" HeaderText="审核状态" />
                        <asp:BoundField DataField="nopass" HeaderText="审核不通过原因" />
                        <asp:BoundField DataField="shenhetime" HeaderText="审核时间" /><asp:BoundField DataField="ifbid" HeaderText="是否确认投标" />
                        <asp:HyperLinkField DataNavigateUrlFields="goodsid" DataNavigateUrlFormatString="GoodsbidUpdate.aspx?goodsid={0}"
                            HeaderText="确认投标状态修改" Target="_blank" Text="修改" />
                        <asp:BoundField DataField="status" ItemStyle-Width="0" ControlStyle-Width="0" HeaderStyle-Width="0" />--%>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
            </td>
        </tr>
    </table>
    <br />
</asp:Content>


